package cn.alise.qdp.model.menu;

import java.sql.Timestamp;

public class Menu implements java.io.Serializable{
	private static final long serialVersionUID = -3360297341523480215L;
	
	/**
	 * 状态  0:无效1:有效
	 */
	public static int STATUS_CANCEL_INT    = 0;
	public static int STATUS_EFFECTIVE_INT = 1;
	
	/**
	 * 类型 1:菜单1:按钮
	 */
	public static int TYPE_MENU_INT    = 1;
	public static int TYPE_BUTTON_INT = 2;
	
	/**
	 * 级数 0一级菜单 1二级菜单 2按钮
	 */
	public static final int LEVEL_0 = 0;
	public static final int LEVEL_1 = 1;
	public static final int LEVEL_2 = 2;
	
	/**
	 * 菜单ID
	 */
	private Long menuId;
	
	/**
	 * 菜单名称
	 */
	private String menuName;
	
	/**
	 * 父节点
	 */
	private Long parentId;
	
	/**
	 * dataId
	 */
	private String dataId;
	
	/**
	 * dataHref
	 */
	private String dataHref;
	
	/**
	 * 状态
	 */
	private Integer status;
	
	/**
	 * 排序
	 */
	private Integer orderNo;
	
	/**
	 * icon路径
	 */
	private String iconPath;
	
	/**
	 * 创建时间
	 */
	private Timestamp createdTime;
	
	/**
	 * 修改时间
	 */
	private Timestamp updatedTime;
	
	/**
	 * 子菜单名称
	 */
	private String smallName;
	
	/**
	 * 子节点结尾
	 */
	private String endFlag;
	
	/**
	 * 子节点Id
	 */
	private String smallId;
	
	/**
	 * 类型
	 */
	private Integer type;
	
	/**
	 * 级数
	 */
	private Integer level;

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getSmallId() {
		return smallId;
	}

	public void setSmallId(String smallId) {
		this.smallId = smallId;
	}

	public String getEndFlag() {
		return endFlag;
	}

	public void setEndFlag(String endFlag) {
		this.endFlag = endFlag;
	}

	public Long getMenuId() {
		return menuId;
	}

	public void setMenuId(Long menuId) {
		this.menuId = menuId;
	}

	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getDataId() {
		return dataId;
	}

	public void setDataId(String dataId) {
		this.dataId = dataId;
	}

	public String getDataHref() {
		return dataHref;
	}

	public void setDataHref(String dataHref) {
		this.dataHref = dataHref;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(Integer orderNo) {
		this.orderNo = orderNo;
	}

	public String getSmallName() {
		return smallName;
	}

	public void setSmallName(String smallName) {
		this.smallName = smallName;
	}
	
	public String getIconPath() {
		return iconPath;
	}

	public void setIconPath(String iconPath) {
		this.iconPath = iconPath;
	}
	
	public Timestamp getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Timestamp createdTime) {
		this.createdTime = createdTime;
	}

	public Timestamp getUpdatedTime() {
		return updatedTime;
	}

	public void setUpdatedTime(Timestamp updatedTime) {
		this.updatedTime = updatedTime;
	}
}
